﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aspose.Words;

namespace AntsCode.WordsExtensions
{
    public class MergeRegion
    {
        public MergeRegion()
        {
            this.Nodes = new List<Node>();
            this.ChildRegions = new List<MergeRegion>();
        }
        
        public string Name
        {
            get;
            set;
        }

        public MergeRegionType Type
        {
            get;
            set;
        }

        public string Filter
        {
            get;
            set;
        }

        public Node Start
        {
            get;
            set;
        }

        public Node End
        {
            get;
            set;
        }

        public IEnumerable<Node> Nodes
        {
            get;
            set;
        }

        public IEnumerable<MergeRegion> ChildRegions
        {
            get;
            set;
        }
    }
}
